package com.iseastar.guojiang.model;

/**
 * 包裹信息
 * 
 * @author coffee<br>
 *         2015-4-27下午2:00:49
 */
public class PacketBean implements java.io.Serializable {

	private static final long serialVersionUID = -4145320428344808204L;
	private int id;
	private String paoWuParameter = "12000";
	private String simplePrice;// 首重
	private String followPrice;// 续重
	private String receiverName; // 收件人、姓名
	private String receiverPhone;// 收件人 电话

	private String receiverProvince; // 收件人、省份
	private String receiverCity;// 收件人、城市
	private String receiverDistrict;
	private String receiverAddress;// 收件人地址

	private String expressCompanyId;// 快递公司id
	private String expressCompanyName; // 快递公司
	private String number; // 编号
	private String bagCode;// 包裹袋子上的二维码

	// 以下5个为本地字段
	private String price; // 称重后的价格
	private String weight; // 重量
	private int weightType = 1;// 0 是抛物重量
	private String info1;// 评估信息
	// 包裹图片
	private String parcelImgUrl;

	public String getParcelImgUrl() {
		return parcelImgUrl;
	}

	public void setParcelImgUrl(String parcelImgUrl) {
		this.parcelImgUrl = parcelImgUrl;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + id;
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		PacketBean other = (PacketBean) obj;
		if (id != other.id)
			return false;
		return true;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getPaoWuParameter() {
		return paoWuParameter;
	}

	public void setPaoWuParameter(String paoWuParameter) {
		this.paoWuParameter = paoWuParameter;
	}

	public String getSimplePrice() {
		return simplePrice;
	}

	public void setSimplePrice(String simplePrice) {
		this.simplePrice = simplePrice;
	}

	public String getFollowPrice() {
		return followPrice;
	}

	public void setFollowPrice(String followPrice) {
		this.followPrice = followPrice;
	}

	public String getReceiverName() {
		return receiverName;
	}

	public void setReceiverName(String receiverName) {
		this.receiverName = receiverName;
	}

	public String getReceiverProvince() {
		return receiverProvince;
	}

	public void setReceiverProvince(String receiverProvince) {
		this.receiverProvince = receiverProvince;
	}

	public String getReceiverCity() {
		return receiverCity;
	}

	public void setReceiverCity(String receiverCity) {
		this.receiverCity = receiverCity;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {
		this.price = price;
	}

	public String getInfo1() {
		return info1;
	}

	public void setInfo1(String info1) {
		this.info1 = info1;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public String getWeight() {
		return weight;
	}

	public void setWeight(String weight) {
		this.weight = weight;
	}

	public int getWeightType() {
		return weightType;
	}

	public void setWeightType(int weightType) {
		this.weightType = weightType;
	}

	public String getReceiverPhone() {
		return receiverPhone;
	}

	public void setReceiverPhone(String receiverPhone) {
		this.receiverPhone = receiverPhone;
	}

	public String getReceiverAddress() {
		return receiverAddress;
	}

	public void setReceiverAddress(String receiverAddress) {
		this.receiverAddress = receiverAddress;
	}

	public String getExpressCompanyId() {
		return expressCompanyId;
	}

	public void setExpressCompanyId(String expressCompanyId) {
		this.expressCompanyId = expressCompanyId;
	}

	public String getExpressCompanyName() {
		return expressCompanyName;
	}

	public void setExpressCompanyName(String expressCompanyName) {
		this.expressCompanyName = expressCompanyName;
	}

	public String getReceiverDistrict() {
		return receiverDistrict;
	}

	public void setReceiverDistrict(String receiverDistrict) {
		this.receiverDistrict = receiverDistrict;
	}

	public String getBagCode() {
		return bagCode;
	}

	public void setBagCode(String bagCode) {
		this.bagCode = bagCode;
	}

	@Override
	public String toString() {
		return "PacketBean [id=" + id + ", paoWuParameter=" + paoWuParameter + ", simplePrice=" + simplePrice + ", followPrice=" + followPrice + ", receiverName=" + receiverName + ", receiverPhone="
				+ receiverPhone + ", receiverProvince=" + receiverProvince + ", receiverCity=" + receiverCity + ", receiverDistrict=" + receiverDistrict + ", receiverAddress=" + receiverAddress
				+ ", expressCompanyId=" + expressCompanyId + ", expressCompanyName=" + expressCompanyName + ", number=" + number + ", bagCode=" + bagCode + ", price=" + price + ", weight=" + weight
				+ ", weightType=" + weightType + ", info1=" + info1 + "]";
	}
	
	
}
